//
//  NYSegment.h
//  NYSegmentedControl
//
//  Copyright (c) 2014 Nealon Young. All rights reserved.
//
//  https://github.com/nealyoung/NYSegmentedControl
//

#import <UIKit/UIKit.h>

@class NYSegment;

@interface NYSegment : UIView

@property (nonatomic ,strong) UILabel * titleLabel;

- (instancetype)initWithTitle:(NSString *)title image:(UIImage *)image selectedImage:(nullable UIImage *)selectedImage;

@property (nonatomic, strong) UIImageView *imgView;

/** image */
@property (nonatomic , strong) UIImage *image;

/** selected */
@property (nonatomic , strong) UIImage *selectedImage;

@end
